﻿<?php
$this->breadcrumbs=array(
	'Jobs'=>array('index'),
	'Post A Project',
);
?>
<h1>Post A Project</h1>

<?php 
	if(!isset($model->id_job)) 
	{ 
		echo $this->renderPartial('_form', array('model'=>$model)); 
	}
	else
	{
	 $this->widget('zii.widgets.CDetailView', array(
		'data'=>$model,
		'attributes'=>array(
		'id_job',
		'name',
		'jobtype',
		'duration',
		'budget',
		'jobaddress',
		'jobdesc',
		'skillsrequired',
		'id_winner',
		),
		)); 
	}
?>
